package org.mifos.boss.domainmodel;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.apache.commons.digester.annotations.rules.StackCallParam;
import org.springframework.beans.factory.annotation.Autowired;

@Entity
@Table
public class ApplicableAccountFeeType {

	  private int feeID;
	  private String amount;
	  private boolean removed;
	  private boolean weekly;
	  private boolean monthly;
	  private boolean periodic;
	  private String feeName;
	  private String feeSchedule;
	  
	  private ClientCreationalData clientCreationalData;

	@Id 
	@GeneratedValue(strategy=GenerationType.AUTO)
	public int getFeeID() {
		return feeID;
	}
	public void setFeeID(int feeID) {
		this.feeID = feeID;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	public boolean getRemoved() {
		return removed;
	}
	public void setRemoved(boolean removed) {
		this.removed = removed;
	}
	public boolean getWeekly() {
		return weekly;
	}
	public void setWeekly(boolean weekly) {
		this.weekly = weekly;
	}
	public boolean getMonthly() {
		return monthly;
	}
	public void setMonthly(boolean monthly) {
		this.monthly = monthly;
	}
	public boolean getPeriodic() {
		return periodic;
	}
	public void setPeriodic(boolean periodic) {
		this.periodic = periodic;
	}
	public String getFeeName() {
		return feeName;
	}
	public void setFeeName(String feeName) {
		this.feeName = feeName;
	}
	public String getFeeSchedule() {
		return feeSchedule;
	}
	public void setFeeSchedule(String feeSchedule) {
		this.feeSchedule = feeSchedule;
	}
	
	@ManyToOne
	@JoinColumn(name="TEMP_CUST_ID")
	public ClientCreationalData getClientCreationalData() {
		return clientCreationalData;
	}
	public void setClientCreationalData(ClientCreationalData clientCreationalData) {
		this.clientCreationalData = clientCreationalData;
	}
	  
	  
}
